package org.xczy.core.service;

import org.xczy.core.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【menu(菜单表)】的数据库操作Service
* @createDate 2023-05-07 13:34:26
*/
public interface MenuService extends IService<Menu> {

  /**
   * 根据用户id获取菜单列表
   * @param id
   * @return
   */
  List<Menu> getMenuListByUserId(Integer id);

  List<Menu> getAllMenu();
}
